<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main"/>
    <title><g:message code="venue.show" default="Show Venue"/>--${venueInstance}</title>
    <resource:map key="ABQIAAAACcCM2DMxzv4n939Jgm34YxQ3LG4vAN-CueICCIjDKaxRKN2F1xQ1y-xVQPy1hfM8M8zYmFIZ-jUyxw"/>
</head>
<body>
    <div class="nav">
        %{--<span class="menuButton"><a class="home" href="${createLinkTo(dir: '')}"><g:message code="home" default="Home" /></a></span>--}%
        <span class="menuButton"><g:link class="list" action="list"><g:message code="venue.list" default="Venue List"/></g:link></span>
        <span class="menuButton"><g:link class="create" action="create"><g:message code="venue.new" default="New Venue"/></g:link></span>
    </div>
    <div class="body">
        <h1><g:message code="venue.show" default="Show Venue"/></h1>
        <g:if test="${flash.message}">
            <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}"/></div>
        </g:if>
        <g:form>
            <g:hiddenField name="id" value="${venueInstance?.id}"/>
            <div class="dialog">
                <table>
                    <tbody>

                    <tr class="prop">
                        <td valign="top" class="name"><g:message code="venue.costAmount" default="Cost Amount"/>:</td>

                        <td valign="top" class="value"><g:formatNumber number="${venueInstance?.costAmount}"/></td>

                    </tr>

                    <tr class="prop">
                        <td valign="top" class="name"><g:message code="venue.name" default="Name"/>:</td>

                        <td valign="top" class="value">${fieldValue(bean: venueInstance, field: "name")}</td>

                    </tr>

                    <tr class="prop">
                        <td valign="top" class="name"><g:message code="venue.timeCanPlay" default="Time Can Play"/>:</td>

                        <td valign="top" class="value"><g:formatNumber number="${venueInstance?.timeCanPlay}"/></td>

                    </tr>

                    </tbody>
                </table>
            </div>
            <div style="margin:4px 0px;border:1px solid #ccc;padding:5px;">
                <richui:map lat="${venueInstance.lat}" lng="${venueInstance.lng}"/>
            </div>
            <div class="buttons">
                <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'edit', 'default': 'Edit')}"/></span>
                <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'delete', 'default': 'Delete')}" onclick="return confirm('${message(code: 'delete.confirm', 'default': 'Are you sure?')}');"/></span>
            </div>
        </g:form>
    </div>
</body>
</html>
